package com.cloudsigns.factorymanager2.engineering.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.cloudsigns.factorymanager2.BaseActivity;
import com.cloudsigns.factorymanager2.R;

public class TeamConstructOrderFeedBackActivity extends BaseActivity{
    private View rl_back;
    private TextView tv_title;
    private RelativeLayout rl_project;
    private TextView tv_project_name,tv_engineering_name;
    private ListView lv_invoice,lv_information;
    private TextView btn_receive_order,btn_back_order;

    @Override
    protected void onBaseCreate(Bundle savedInstanceState) {
        setContentView(R.layout.layout_team_construct_order_feedback);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        rl_back = findViewById(R.id.rl_back);
        tv_title = findViewById(R.id.tv_title);
        rl_project=findViewById(R.id.rl_project);
        tv_project_name=findViewById(R.id.tv_project_name);
        tv_engineering_name=findViewById(R.id.tv_engineering_name);
        lv_invoice=findViewById(R.id.lv_invoice);
        lv_information=findViewById(R.id.lv_information);
        btn_receive_order=findViewById(R.id.btn_receive_order);
        btn_back_order=findViewById(R.id.btn_back_order);
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        tv_title.setText(getResources().getString(R.string.engineering_construct_order));

    }

    @Override
    public void setListener() {
        rl_back.setOnClickListener(this);
        btn_receive_order.setOnClickListener(this);
        btn_back_order.setOnClickListener(this);
    }

    @Override
    public void widgetClick(View v) {
        switch (v.getId()){
            case R.id.rl_back:
                finish();
                break;
                // 接收工单
            case R.id.btn_receive_order:
                break;
                // 退回工单
            case R.id.btn_back_order:
                break;
        }
    }
}
